@charset "UTF-8";

body{
    min-width: 1412px;
}

@media (max-width: 1412px) {
    #common-home {
        .product-wrapper{
            width:100%;
            background-size: 100%;
        }
        .widget-title{
            width:100%;
            background-size: 100%;
        }
    }
}


#common-home{
    padding-left: 0;
    padding-right:0;
    background: #aa1c1c;
    padding-bottom: 170px;
    background-image: url("/catalog/view/theme/jd/image/bg/home-padding-bg.png");
    background-repeat: no-repeat;
    background-position: bottom;

    .product-wrapper{
        width:1412px;
        height: 730px;
        margin-left: auto;
        margin-right: auto;
    }

    .widget-title {
        height: 236px;
        width: 1412px;
        margin:0 auto;
        position: relative;
        background-repeat: no-repeat;
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-header-shadow.png");
        //&> a{
        //    position: absolute;
        //    color: #333333;
        //    right: 0;
        //    height:30px;
        //    font-size:20px;
        //    font-weight:400;
        //    line-height:30px;
        //}
        &>span{
            position: absolute;
            left: 50%;
            bottom: 40px;
            height: 38px;
            font-size: 36px;
            line-height: 1;
            transform: translateX(-50%);
            background-color: transparent;
            color: #D5BE9F;
            font-weight: normal;
            padding:0 40px;
            &:after{
                content: '';
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 20px;
                height: 38px;
                background-image: url("/catalog/view/theme/jd/image/bg/module-header-title-bg.png");
                background-position: left;
            }

            &:before{
                content: '';
                display: block;
                position: absolute;
                top: 0;
                right: 0;
                width: 20px;
                height: 38px;
                background-image: url("/catalog/view/theme/jd/image/bg/module-header-title-bg.png");
                background-position: right;
            }
        }
        &:after{
            display: none;
        }
    }

    .product-wrapper{
        background-image: url("/catalog/view/theme/jd/image/bg/module-body-bg.png");
        background-repeat: no-repeat;
        background-position:top center;
        padding: 64px 136px 0;
    }

    > row{
        padding: 0;
    }




    // 模块
    .bestseller-module{
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-bestseller.png");
        background-repeat: no-repeat;
        .widget-title {
            height: 186px;
            background-image: url("/catalog/view/theme/jd/image/bg/module-bg-header.png");
        }
    }

    .latest-module{
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-latest.png");
        background-repeat: no-repeat;
    }

    .special-module{
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-latest.png");
        background-repeat: no-repeat;
    }

    .feature-module{
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-feature.png");
        background-repeat: no-repeat;

    }

    .module-carousel{
        margin: 0;
        margin-left: auto;
        margin-right: auto;
        height: 459px;
        padding-top: 129px;
        background-repeat: no-repeat, no-repeat;
        background-position: top center, top center;
        background-image: url("/catalog/view/theme/jd/image/bg/module-bg-brand.png"), url("/catalog/view/theme/jd/image/bg/module-bg-carouse.png");
        .title {
            margin: 50px auto 50px;
            height:45px;
            font-size:34px;
            color: #DDC19C;
            line-height:45px;
            text-align: center;
            &:after{
                content: '';
                display: inline-block;
                width: 8px;
                height: 8px;
                vertical-align: middle;
                background-color: #DDC19C;
                border-radius: 50%;
                margin-left: 20px;
            }
            &:before{
                content: '';
                display: inline-block;
                width: 8px;
                height: 8px;
                vertical-align: middle;
                background-color: #DDC19C;
                border-radius: 50%;
                margin-right: 20px;
            }
        }
        .swiper-container{
            margin: 0 auto;
            width: 1050px;
            padding-bottom: 40px;
        }
        .swiper-wrapper{
            .swiper-slide{
                .image{
                    background: #ffffff;
                    //box-shadow:0px 16px 22px rgba(0,0,0,0.2);
                }
            }
        }
    }

    .product-wrapper {
        position: relative;
        .more{
            position: absolute;
            top: 28px;
            right: 150px;
            font-size: 20px;
            color: #DDC19C;
        }

        .product-layout{
            width: 204px;
            height: 290px;
            margin-left: 12px;
            margin-right: 12px;
            margin-bottom: 40px;
            background: #ffffff;
            .product-thumb{
                padding: 18px;
                .image{
                    position: relative;
                    width: 170px;
                    img{
                        width: 100%
                    }
                    /*试戴的标识图标*/
                    .tryon-icon {
                        width: 46px;
                        height: 46px;
                        line-height: 68px;
                        text-align: center;
                        font-size: 12px;
                        color: #fff;
                        background-image: url("/catalog/view/theme/jd/image/icon/3d_tryon.svg");
                        background-repeat: no-repeat;
                        background-size: cover;
                        pointer-events: none;
                    }
                }
                .caption{
                    padding-top: 8px;
                    .product-name{
                        a {
                            display: block;
                            white-space: normal;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            height:16px;
                            font-size:12px;
                            font-weight:400;
                            line-height:16px;
                            color: #888888;
                            &:hover{
                                color: $brand-primary;
                            }
                        }
                    }
                    .price{
                        margin-bottom: 12px;
                        height:23px;
                        font-size:18px;
                        font-weight:300;
                        line-height:24px;
                        color:$brand-primary;
                        .price-old{
                            padding-left: 4px;
                            height:290px;
                            background:rgba(255,255,255,1);
                            text-decoration: line-through;
                            color: #E6E6E6;
                            margin: 0;
                            font-size: 12px;
                        }
                    }
                    .product-description{
                        display: none;
                    }
                }
            }

        }
    }
}
